const book = require('../api/bookAPI')
const urlParse = require('url')
const Router = require('koa-router');
var router = new Router()

router.get('/book', book.query)
router.post('/book', book.add)
module.exports = router